﻿namespace ProxyTool.Setting
{
    public class SettingObject
    {
        /// <summary>
        ///     名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///     U9地址
        /// </summary>
        public string U9URI { get; set; } = @"http://localhost/u9";

        /// <summary>
        ///     企业ID
        /// </summary>
        public string EnterpriseID { get; set; }

        /// <summary>
        ///     组织编码
        /// </summary>
        public string OrgCode { get; set; }

        /// <summary>
        ///     用户编码
        /// </summary>
        public string UserCode { get; set; }

        /// <summary>
        ///     密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        ///     语言
        /// </summary>
        public string Culture { get; set; } = "zh-CN";

        /// <summary>
        ///     语言列表
        /// </summary>
        public string SupportCultureNameList { get; set; } = "zh-CN";

        /// <summary>
        ///     默认按数据成员(DataMember)传输数据
        /// </summary>
        public bool DefaultUseDataContract { get; set; } = false;

        /// <summary>
        ///     默认请求数据最大展开深度
        /// </summary>
        public int DefaultRequestDataMaxExpandDepth { get; set; } = 2;
    }
}